home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / PROBLEMS / DISK / IDECALLS < prev    next >
Internet Message Format  |  1992-04-29  |  6KB

  1. From info-admin@newcastle.ac.uk  Thu Apr 23 08:05:47 1992
  2. Received: from noc.rus.uni-stuttgart.de by helpdesk.rus.uni-stuttgart.de (5.52/BelWue-1.0SG(subsidiary))
  3.     (for zrzm0111) id AA25980; Thu, 23 Apr 92 08:05:47 MST
  4. Received: from mail.Germany.EU.net (unido.Germany.EU.net) by noc.BelWue.DE with SMTP id AA10744
  5.   (5.65c/BelWue-M2.03 for <joerg.scheurich@rus.uni-stuttgart.de>); Thu, 23 Apr 1992 08:05:47 +0200
  6. Message-Id: <9204230607.AA24151@mail.Germany.EU.net>
  7. Received: from eros.uknet.ac.uk 
  8.     by mail.Germany.EU.net with SMTP (5.65+/UNIDO-2.1.0.b)
  9.     via EUnet for rus.uni-stuttgart.de
  10.     id AA24151; Thu, 23 Apr 92 08:07:04 +0200
  11. Received: from newcastle.ac.uk by eros.uknet.ac.uk via JANET with NIFTP (PP) 
  12.           id <3419-0@eros.uknet.ac.uk>; Thu, 23 Apr 1992 07:05:56 +0100
  13. Date: Thu, 23 Apr 92 06:57:45 +0100
  14. Received: 
  15. From: The Newcastle Info-Server <info-admin@newcastle.ac.uk>
  16. To: joerg.scheurich@rus.uni-stuttgart.de
  17. Subject: Re: Request: sources; Topic: archimedes idecalls
  18. Sender: info-admin@newcastle.ac.uk
  19. Status: OR
  20.  
  21. Please  DO NOT reply to this message unless you wish to reach the
  22. administrator  of   the   newcastle   info-server   <info-admin>.
  23. Info-server requests sent to this address are thrown away.
  24.  
  25. Path: newcastle.ac.uk!uknet!ukc!acorn!osmith
  26. >From: osmith@acorn.co.uk (Owen Smith)
  27. Newsgroups: comp.sys.acorn
  28. Subject: Re: Risc OS 3.00 upgrade
  29. Message-ID: <10365@acorn.co.uk>
  30. Date: 14 Oct 91 11:11:44 GMT
  31. References: <1991Oct11.190517.165@vaxa.strath.ac.uk>
  32. Sender: osmith@acorn.co.uk
  33. Distribution: comp
  34. Organization: Acorn Computers Ltd, Cambridge, England
  35. Lines: 162
  36.  
  37. In article <1991Oct11.190517.165@vaxa.strath.ac.uk> cabr07@vaxa.strath.ac.uk
  38. writes:
  39.  
  40. >Does the IDE and high density floppy driver cope with podule mounted
  41. >expansion cards where the podule simply supplies the hardware address 
  42. >(like ADFS and the ST506 drivers)?
  43.  
  44. This should clear things up for you:
  45.  
  46. New ADFS SWIs and service calls
  47.  
  48. ;*********************************************************************
  49.  
  50. ADFS_ControllerType
  51. ;
  52. ; Returns the controller type of a disc
  53. ;
  54. ; Entry:
  55. ;    R0 = drive number (0..7)
  56. ;
  57. ; Exit:
  58. ;    R0 = controller type
  59. ;         0 => disc not present
  60. ;         1 => 1772
  61. ;         2 => 765
  62. ;         3 => ST506
  63. ;         4 => IDE
  64.  
  65. ;*********************************************************************
  66.  
  67. ADFS_PowerControl
  68. ;
  69. ; Controls the power-saving features of the ADFS system
  70. ; It can be dangerous to use the drive spin control SWIs on drives that do
  71. ; not fully support them: the controllers on at least two drives tested hang
  72. ; up when autospindown is enabled and a reset does not recover the situation
  73. ; (power-on reset does).
  74. ;
  75. ; Entry:
  76. ;    R0 = reason
  77. ;
  78. ;         0 => read drive spin status
  79. ;           Entry:
  80. ;              R1 = drive (4..7)
  81. ;           Exit:
  82. ;              R2 = 0 => drive is not spinning
  83. ;                  !0 => drive is spinning
  84. ;
  85. ;         1 => set drive autospindown
  86. ;           Entry:
  87. ;              R1 = drive (4..7)
  88. ;              R2 =  0 => disable autospindown and spinup drive
  89. ;                   !0 => set autospindown to R2*5 seconds
  90. ;           Exit:
  91. ;                 R3 = previous enable value
  92. ;
  93. ;         2 => manual control of drive spin without affecting autospindown
  94. ;           Entry:
  95. ;              R1 = drive (4..7)
  96. ;              R2 = 0 => spin down immediately
  97. ;                  !0 => spin up immediately
  98.  
  99. ;*********************************************************************
  100.  
  101. ADFS_SetIDEController
  102. ;
  103. ; Gives the IDE driver the details of an alternative controller.
  104. ;
  105. ; Entry:
  106. ;    R2 -> IDE controller
  107. ;    R3 -> interrupt status of controller
  108. ;    R4 =  AND with status, NE => IRQ
  109. ;    R5 -> interrupt mask
  110. ;    R6 =  OR into mask enables IRQ
  111. ;    R7 -> data read routine (0 for default)
  112. ;    R8 -> data write routine (0 for default)
  113. ;    SB -> static workspace
  114. ;
  115. ; Exit:
  116. ;    VS => error
  117. ;          R0 = error
  118. ;    VC => no error
  119. ;          R0 preserved
  120. ;    All other registers preserved
  121.  
  122. ;*********************************************************************
  123.  
  124. ADFS_IDEUserOp
  125. ;
  126. ; Direct user interface for low-level IDE commands.
  127. ; Must not be called in background.
  128. ;
  129. ; Entry:
  130. ;    R0 = b0 = action
  131. ;              1 => reset controller
  132. ;              0 => process command
  133. ;         b25..b25 = transfer direction
  134. ;              00 => no transfer
  135. ;              01 => read
  136. ;              10 => write
  137. ;              11 reserved
  138. ;    R2 -> parameter block for command and results
  139. ;    R3 -> buffer
  140. ;    R4 = length to transfer
  141. ;    R5 = timeout in centiseconds (0 = default)
  142. ;    SB -> static workspace  
  143. ;    MODE: SVC
  144. ;    IRQ state: unknown
  145. ;
  146. ; Exit:
  147. ;    VS => error
  148. ;          R0 -> error block
  149. ;    VC => no error
  150. ;          R0 = command status (0 or a disc error number)
  151. ;          Parameter block updated
  152. ;    R3 updated
  153. ;    R4 updated
  154. ;    R5 undefined
  155. ;    All other registers preserved
  156. ;    IRQ state: preserved but IRQs enabled during call
  157.  
  158. ;*********************************************************************
  159.  
  160. Service_ADFSPoduleIDE
  161. ;
  162. ; Issued by ADFS to locate an IDE podule.
  163. ;
  164. ; Entry:
  165. ;    R1 = Service_ADFSPoduleIDE
  166. ;    R2 -> current IDE controller
  167. ;    R3 -> interrupt status of controller
  168. ;    R4 =  AND with status, NE => IRQ
  169. ;    R5 -> interrupt mask
  170. ;    R6 =  OR into mask enables IRQ
  171. ;    R7 -> data read routine (0 for default)
  172. ;    R8 -> data write routine (0 for default)
  173. ;
  174. ; Exit:
  175. ;    R1 = Service_Serviced
  176. ;    R2 -> new IDE controller
  177. ;    R3 -> interrupt status of controller
  178. ;    R4 =  AND with status, NE => IRQ
  179. ;    R5 -> interrupt mask
  180. ;    R6 =  OR into mask enables IRQ
  181. ;    R7 -> data read routine (0 for default)
  182. ;    R8 -> data write routine (0 for default)
  183.  
  184. ;*********************************************************************
  185.  
  186. Service_ADFSPoduleIDEDying
  187. ;
  188. ; Issued by podule module to tell ADFS of imminent demise.
  189. ;
  190. ; Entry:
  191. ;    R1 = Service_ADFSPoduleIDEDying
  192. ;
  193. ; Exit:
  194. ;    All registers preserved
  195.  
  196. ;*********************************************************************
  197.  
  198. The views expressed are my own and are not necessarily those of Acorn.
  199.  
  200.